﻿//using System.Collections.Immutable;
//using Microsoft.CodeAnalysis;
//using Microsoft.CodeAnalysis.Diagnostics;

//namespace UIOC.Observable.CodeAnalysis.Suppressors;

//[DiagnosticAnalyzer(LanguageNames.CSharp)]
//internal sealed class UIOC0005_Suppressor : DiagnosticSuppressor {

//    private static readonly SuppressionDescriptor SuppressUIOC0005 = new(
//        id: "SUPPRESS_UIOC0005",
//        suppressedDiagnosticId: "UIOC0005",
//        justification: "[Implement] 可用");

//    public override ImmutableArray<SuppressionDescriptor> SupportedSuppressions =>
//       ImmutableArray.Create(SuppressUIOC0005);

//    public override void ReportSuppressions(SuppressionAnalysisContext context) {
//        foreach (var diagnostic in context.ReportedDiagnostics) {
//            if (diagnostic.Id != SuppressUIOC0005.SuppressedDiagnosticId)
//                continue;

//            context.ReportSuppression(Suppression.Create(
//                    SuppressUIOC0005,
//                    diagnostic));
//        }
//    }
//}
